Tanzania deports Iranian for 'endangering national security'