Egyptian convicted of spying for Israel