Hard fluid model for solvent-induced shifts in molecular vibrational frequencies