The effects of sulphate ions and temperature on the leaching of pyrite. 1. Electrochemistry