Sulphur molecules in the circumstellar envelopes of M-type AGB stars