Regularity results for a class of quasiconvex functionals with nonstandard growth