Density cycles and an offspring quantity and quality game driven by natural selection