Effect of Electronegativity and Charge Balance on the Visible-Light-Responsive Photocatalytic Activity of Nonmetal Doped Anatase TiO2