Canted-Cosine-Theta Superconducting Accelerator Magnets For High Energy Physics And Ion Beam Cancer Therapy