Electronic structure of face centred cubic titanium and vanadium carbide alloys