A wave of Taliban attacks on key government buildings in the Afghan capital, Kabul, has left 12 dead, including at least seven militants, and scores wounded.