Hydrothermally synthesized α-MnS nanostructures for electrochemical water oxidation and photocatalytic hydrogen production