Iran sentences former official to death for spying for Britain