The balloon-borne large-aperture submillimeter telescope for polarimetry-BLASTPol: performance and results from the 2010 Antarctic flight