Split-ring resonators interacting with a magnetic field at visible frequencies