A comparison between models of thermal fields in laser and electron beam surface processing