INVESTIGATION OF BAND BENDING IN n- AND p-TYPE GaN