Electronic structure of indium-cadmium alloys