A quantum trajectory analysis of the one-atom micromaser