Regularity for minimizers for functionals of double phase with variable exponents