Asymptotic expansion of the heteroclinic bifurcation for the planar normal form of the 1:2 resonance