Electronic structure of potassium and metal halide GICs studied by angle-resolved x-ray emission spectroscopy