APEC Shenzen visit was smooth, safe: ministry official