Peers or Police? Detection and Sanctions in the Provision of Public Goods