Darwin’s studies of finches on the Galápagos Islands suggest that the finches’ differences in beak structure were most likely directly due to: