Rebelo de Sousa elected Portugal's new president