Study of carbon concentration in GaN grown by metalorganic chemical vapor deposition