Phase diagram and critical behavior of the random ferromagnet Ga1−xMnxN