Bomb attacks hit Iraqi holy city and capital