Structural phase transitions and magnetic and spectroscopic properties of the double perovskites Sr2Co1-xMgxTeO6 (x = 0.1, 0.2 and 0.5).