A method and tool to determine the colorimetric and photobiological properties of light transmitted through glass and other optical materials