Moisture and energy conditions within a sloping soil mass during drainage