Construction and performance of the Scintillator Surface Detectors for the Upgrade of the Pierre Auger Observatory