Line-Voltage Control Based on Wayside Energy Storage Systems for Tramway Networks