Electronic structure of vanadium and chromium carbide cations, VC+ and CrC+. Ground and low-lying states