A senior official in the Iranian Revolutionary Guard has been assassinated in Tehran, reportedly by point-blank gunfire.