Dimers of quadrupolar chromophores in solution: electrostatic interactions and optical spectra