Regularity results for minimizers of a class of degenerate functionals with discontinuous coeffcients