On the thermal effects of groundwater flow: 1. Regional scale systems