Optimising your tax for charity can make a difference