Ultrasound measurements of temperature profiles in Rayleigh-Bénard convection