Modern electrification systems take AC energy from a power grid which is delivered to a locomotive and converted to a DC voltage to be used by traction motors. Power conversion for an AC system takes place mainly in a what?