MHD stability and disruptions in the SPARC tokamak