Strategies for tax-efficient investing: a close look at the advantages of tax-loss harvesting