'Turkish EU membership could have prevented war, including in Ukraine'