China’s foreign trade narrows decline, seeks better quality