Study of B^{0}→π^{0}π^{0}, B^{±}→π^{±}π^{0}, and B^{±}→K^{±}π^{0} decays, and isospin analysis of B→ππ decays