Higher order QCD corrections to the energy-energy correlation function