Effects of water temperature on the discharge of bed material