Multi-state models: metapopulation and life history analyses