Metallic ruthenium-based nanomaterials for electrocatalytic and photocatalytic hydrogen evolution