Theoretical research on nonlinear optical properties of sandwich compounds M3-NO3-M'3 (M, M' = Li, Na, K)