Electrochemical degradation of methylene blue