Erasable memory properties of spectral selectivity modulated by temperature and bias in an individual CdS nanobelt-based photodetector.