Atomic-scale structure and band-gap bowing in Cu(In,Ga)Se 2