Temperature distributions and effects of heat applied to plant stems