Improving quantum parameter estimation by monitoring quantum trajectories