Ultraviolet and visible spectrophotometer