Public goods and voting on formal sanction schemes