Empirical treatment of solvent-solute interactions: medium effects on the electronic absorption spectrum of ?-carotene