Magnetic stirrer for diamond-anvil cells