Last week , Iran released on bail an Iranian-American academic who has been jailed in Tehran since May on security charges .