Spectroscopic detection methods