Generation of Fock States in the One-Atom Maser