Turkey favors permanent solution to Karabakh row