An ultrasonic study of the elastic properties of the normal and superconducting states of YBa2Cu3O7-δ