Cryopol: a superconducting magnetostatic cavity for a 3He neutron spin filter