Alteration of the groundwater thermal regime caused by advection