A global analysis of management capacity and ecological outcomes in terrestrial protected areas