An energy saver for tramway networks using double active bridge and supercapacitors