Chemical Trends of Surface Reconstruction and Band Positions of Nonmetallic Perovskite Oxides from First Principles