Minimum relative entropy: Theory and application to surface temperature reconstruction from borehole temperature measurements