Regularity results for minimizers of integral functionals with nonstandard growth