Electric current induced flow of liquid metals: Mechanism and substrate-surface effects