Ferroelectric water chains in carbon nanotubes: Creation and manipulation of ordered quantum phases