Shear dynamics of nanoconfined ionic liquids.