Substituent effects on absorption and fluorescence spectra of carbostyrils