Energy management strategy of a propulsion system with supercapacitors for electric and hybrid vehicles