Reinvesting dividends over the long term can make a huge difference to your portfolio