Water Allocation Mechanisms: Principles and Examples