Investigating excitonic states in transition metal dichalcogenide monolayers and heterobilayers using resonance Raman spectroscopy