How does the temperature of the medium affect the speed of sound ?