30 people die in bombing in northwestern Pakistan