Are dividends better for investors than stock buybacks? It all depends