GaAs photodetectors prepared by high-energy and high-dose nitrogen implantation