State-variable public goods when relative consumption matters : a dynamic optimal taxation approach