Ab Initio Theory of Si-Vacancy Quantum Bits in 4H and 6H-SiC