Electrochemistry and renewable energy applications