Water in Inhomogeneous Nanoconfinement: Coexistence of Multilayered Liquid and Transition to Ice Nanoribbons.