Temperature variation of ultraslow light in a cold gas