The thermal effect analysis in the high power frequency-doubled Nd:YAG Laser