Effect of localized states on the reciprocity between quantum efficiency and electroluminescence in Cu(In,Ga)Se2 and Si thin-film solar cells