Nanometer-scale electronic and microstructural properties of grain boundaries in Cu(In,Ga)Se2