Life cycles and population dynamics