Effect of flexibility on hydrophobic behavior of nanotube water channels.