Bombs kill 10 in Pakistan's northwest