Adaptive capacity and learning to learn as leverage for social–ecological resilience