This money-saving strategy is also called Loss Harvesting. Here's how it works.