President Donald Trump has dismissed Iran's response to US proposals to end the war as "totally unacceptable".