How does the magnitude and direction of the magnetic field produced by a current-carrying conductor depend on the magnitude and direction of the current, as well as the distance from the conductor?