An Investigation of the Performance of Photochromic Dyes and Their Application to Polyester and Cotton Fabrics