Iran jails US national for 10 years for spying