American accused of spying leaves Russia