Structure and dynamics of nanoconfined water and aqueous solutions