Pressure-induced valence change in YbAl3 : A combined high-pressure inelastic x-ray scattering and theoretical investigation