We looked at the difference in posttax returns between mutual funds and exchange-traded funds. Here’s what we found.