Effect of periodic array on the on-state resistances of GaAs photoconductive semiconductor switch based on total reflection theory