Cooperative institutions for sustainable common pool resource management: Application to groundwater