Sliding-mode control of bidirectional dc-dc converter for supercapacitor energy storage applications