US student detained in Iran has been freed