Homojunction diode of CuInSe2 thin film fabricated by nitrogen implantation