Age-specific reproductive investment in female burying beetles: independent effects of state and risk of death