Inelastic X-ray scattering investigations of lattice dynamics in SmFeAsO1−xFysuperconductors