Constrained quantization of open string in background B field and noncommutative D-brane