Decay of weak solutions and the singular set of the three-dimensional Navier-Stokes equations