Complexity of Public Goods Games on Graphs