Inverse problem of heat conduction