Precision measurement in quantum optics