Compute the compound annual growth rate (CAGR) from a starting value, ending value, and number of years.