Local kinetic energy and singularities of the incompressible Navier--Stokes Equations