Temperature dependence of the piezophototronic effect in CdS nanowires