Fock states in a cyclically pumped one-atom maser