Inelastic photon scattering in the delta-hole approach