Linking micro- and macroevolution