Russian court convicts officer of spying