Reversible light-induced on-off switching of charge traps in quantum dots probe by variable-pulse-rate photoluminescence spectroscopy