Ecological contexts and seasonality of vital events