Feedback stabilization of N-dimensional stochastic quantum systems based on bang-bang control