P–n junction diodes with polarization induced p-type graded InxGa1–xN layer