Water and rights: state management in South Africa and India