Bridging the gap between ecology and evolution: integrating density regulation and life‐history evolution