How to trim your tax bill when taking RMDs.