Determination of the substitution scheme of gallium and magnetic features of Nd2Fe14−xGaxB