Baghdad, Anbar racked by mounting violence