At least 32 people were killed and more than 100 wounded in the deadliest blasts in nearly three years to have hit the Iraqi capital.