Bed Configurations in Steady Unidirectional Water Flows. Part 3. Effects of Temperature and Gravity