Automatic design of GaAs MESFETs for thermal effect optimization