Inelastic x-ray scattering of dense solid oxygen: Evidence for intermolecular bonding