Harnack inequality for mean-field stochastic differential equations