Crystal structure or chemical composition of salt–sugar-based metal–organic frameworks: what are the nonlinear optical properties due to?