Former British soldier jailed for collecting information for Iran