Iran's president says Trump must abandon threats if he wants talks