Parity states in the one-atom maser