Temperature and heat flux estimation from sampled transient sensor measurements