How reinvesting dividends can boost returns