S&P 500 index funds are incredibly popular with investors, and for good reason.