Qubit feedback and control with kicked quantum nondemolition measurements: A quantum Bayesian analysis