Collective modes and quantum effects in two-dimensional nanofluidic channels