Enhancement of the thermoelectric performance of CuInTe2 via SnO2 in situ replacement