China warns Iran about nuclear weapons