The structure and electronic properties of semiconducting glasses based on CdAs2