The effects of solvation in the theoretical spectra of cationic dyes