Car bomb north of Baghdad kills 30: officials