Minimizing a quadratic function of job lateness on a single machine