Mechanistic and energetic aspects of the H-induced (1×2) reconstructed structures on Ni(110) and Pd(110)