Synergy and Discount of Punishment in the Public Goods Game