Measurement and calculation of second-harmonic generation in single-crystal spheres: application to d coefficients of D-mannitol,