Helmholtz-Zentrum Dresden-Rossendorf (HZDR) Efficient method for calculating Raman spectra of solids with impurities and alloys and its application to two-dimensional transition metal dichalcogenides