Magnetic field measurements in fusion plasmas using the motional Stark effect