Physical and chemical tuning of electrocatalysts for renewable energy applications