Hardware implementation of an improved control strategy for battery–supercapacitor hybrid system in electric vehicles