A correlation between optical backgating and photogeneration mechanism in GaAs MESFETs