C+ and C++ ion densities scaling in laser plasmas by ultraviolet photoabsorption spectroscopy