Influence of growth conditions on the structural quality of Cu(InGa)Se2 and CuInSe2 thin films