Pakistani officials say gunmen have killed 16 people in two separate attacks in the restive southwest of the country .