Regulaity for minimizers of certain degenerate functionals with non-standard growth conditions