Explosions are heard in the Afghan capital followed by a Taliban claim that it had carried out attacks in the city.