Optimal firing-angle control of cascaded HVDC converters for minimum harmonic currents