Laser photoluminescence spectrometer based on charge-coupled device detection for silicon-based photonics