China vows to do 'what is necessary' to safeguard rights after Bessent threatens secondary sanctions on Iran's trading partners