Iranian rial and stocks rise after US deal