Which tax planning strategy involves recognizing capital losses to offset capital gains and reduce taxable income?