If you’re sitting on portfolio losses, you may consider tax-loss harvesting before year-end. Here’s how to leverage exchange-traded funds with the strategy.