Higher integrability of the gradient of minima of certain functionals