Modulation spectroscopy of semiconductors