Bomb attacks target candidate offices in Pakistan ahead of elections