Evolutionarily stable age at first reproduction in a density-dependent model