Assessing and enhancing adaptive capacity