Completely positive quantum trajectories with applications to quantum state smoothing