French man sentenced to 8 years in Iran prison for spying