Radio recombination lines from quasars. I: Level populations of hydrogenic ions in a strong, nonthermal radiation field