Molecular dynamics simulations on the ionic current through charged nanopores