Cooperation as illusory hill climbing: co-adaptation and search in social dilemmas