Legal action looms as South Africa grapples with escalating water shortages