Population age structure, complex socio-demographic systems and resilience potential. A spatio-temporal, evenness-based approach