What do governments buy? The composition of public spending and economic performance