A review of the structure and dynamics of nanoconfined water and ionic liquids via molecular dynamics simulation