Regularity for minimizers of integrals with nonstandard growth