Secondary barriers in CdS–CuIn1−xGaxSe2 solar cells