Optical study of the stoichiometry-dependent electronic structure of TiCx, VCx, and NbCx.