Shanghai’s foreign trade up 19pc in H1