Evolution of N defect states and optical transitions in ordered and disordered GaP1−xNx alloys