Midyear tax advice: a top tax pro explains the pros and cons of capital gains and tax-loss harvesting.