Court ruling allows charities to claim for stamp duty relief in joint purchases