Predictions of solar radiation shielding properties of KB6 from first principles