China's June trade data beats forecasts, but imports shrink again