Measurement system analysis for ultraviolet and visible absorption spectroscopy