Sustainability of groundwater usage in northern China: dependence on palaeowaters and effects on water quality, quantity and ecosystem health