Nanojunction Effects on Water Flow in Carbon Nanotubes