An O(αs)2 calculation of energy-energy correlation in e+e− annihilation and comparison with experimental data