Charge transfer in simple metallic alloys