Circulating currents and magnetic moments in quantum rings