Harnack inequalities for double phase functionals