Fabrication of CuInTe2 and CuInTe(2-x)Se(x) ternary gradient quantum dots and their application to solar cells.