Blasts, gunfire rock Afghan capital