Gallium gradients in chalcopyrite thin films