Brillouin scattering, ultrasonic and theoretical studies of acoustic anomalies in crystals showing Jahn-Teller phase transitions