Hybrid energy storage system based on supercapacitors and Li-ion batteries