Low-vibration optical cryostat with a superconducting magnet