Electrical and optical characterisation of vanadium in 4H and 6H-SiC