Even as the stock market put in a tepid performance, these ETFs managed to produce sizable gains. Find out how.