Greece's main opposition party elects temporary leader after election defeat