Foreign spies who steal information from the Government and leak it overseas, or those who snoop on British embassies, will also face prosecution in British courts for the first time, under plans to be considered by ministers.