Ab Initio Study of the Structure, Spectral, Ionochromic, and Fluorochromic Properties of Benzoazacrown-Containing Dyes as Potential Optical Molecular Sensors