Trump warns Iranian president against threatening US