At least 18 people have been killed and dozens wounded in a car bomb and other attacks in central Iraq, police and hospital officials said.