The structure of crystalline and amorphous CdGeP2