Facile synthesis of carbon encapsulated RuO2 nanorods for supercapacitor and electrocatalytic hydrogen evolution reaction