Magnetic and electronic properties of Sn1−xGdxTe