Dividends have become a smaller component of the S&P 500's total return, but that hasn't always been the case.