Water transport control in carbon nanotube arrays