Moral Hazard, Risk Sharing, and the Optimal Pool Size