Effect of polarization on two-dimensional carrier distribution in nitride quantum wells