Ordering of field operators and equations of motion in quantum optics