Thermal switching in silver sulphide and some of its alloys