Mechanism of how salt-gradient-induced charges affect the translocation of DNA molecules through a nanopore