Sweeping photoreflectance spectroscopy of semiconductors