A study on the electrodeposited Ni–S alloys as hydrogen evolution reaction cathodes