Homoclinic orbits od saddles in two-dimensional endomorphisms