President Rafael Correa's main rival concedes defeat in Ecuador election.