The singular set of minima of integral functionals