A molecular dynamics investigation of water and ion transport through model carbon nanotubes