Charitable deduction rules for trusts, estates, and lifetime transfers