Resonance Raman scattering and ab initio calculation of electron energy loss spectra of MoS2 nanosheets