Which neighbors did Halych develop trade relations with