Photo- and Thermochemical Behavior of Quaternary Ammonium Thiocyanates and Their Use as Crosslinkers