A comprehensive study of the crystallization of Cu–As–Te glasses: microstructure and thermoelectric properties