Second-harmonic imaging of surface order and symmetry