Different mechanism of response of asymmetric lone pair electrons around ns2 cations to birefringence and second harmonic generation