Bombers attacked a Shia funeral in Baghdad in the latest example of Iraq's worsening sectarian violence.