Regularity for minimizers of functionals with p-q growth