Two Iranian men were convicted under Britain's National Security Act for spying on dissident journalists.