Electrical switching of the edge current chirality in quantum anomalous Hall insulators