Destruction of quantum coherence in a micromaser by finite detection efficiency