Reduction of permanganates by the dioxides of sulphur and selenium and oxidation of hydrogen sulphide by manganese dioxide and potassium metaperiodiate