Cooperative effects in a one-photon micromaser with atomic polarization