Bond properties of the chalcopyrite and stannite phases in the Cu–(In,Ga)–Se system