The blast occurred while President Vladimir V. Putin of Russia was in the city. News outlets initially reported two explosions, but later revised that account.