What can we learn from mechanisms about the evolution of life histories?