Inference of ground surface temperature history from borehole temperature data: a comparison of two inverse methods