The cognitive underpinnings of flexible tool use in great apes.