Regularity of minimizing sequences for functionals of the Calculus of Variations via the Ekeland principle