US journalist allowed to leave Iran