A model for thermal diffusion and local tissue damage from the measurement of temperature in electrosurgical incision