Computational studies of 4H and 6H silicon carbide