Torsional failure of water-filled carbon nanotubes