Genetics of Darwinian fitness. III. A generalized approach to age structured selection and life history.