Array spectrometer for high accuracy light measurement