Electric currents along earthquake faults and the magnetization of pseudotachylite veins