Quantum nondemolition detection of optical quadrature amplitudes.