A Potential-based Formulation for Motion-Induced Electric Fields in MRI