Spectral Behavior and Photophysical Parameters of Dihydrophenanthro[9,10-e][1,2,4]Triazine Derivative Dyes in Sol–Gel and Methyl Methacrylate Polymer Matrices