Effects of subsurface heterogeneity on the inference of climate change from borehole temperature data: model studies and field examples from Canada