Three people have been injured in a suicide bomb attack on a local branch of Russia's main intelligence agency — the Federal Security Service (FSB).