Optimal tax treatment of private contributions for public goods with and without warm glow preferences