who demonstrated the magnetic effect based on the direction of the current?