Heat flux determination using surface and backface temperature histories and inverse methods