Analysis of recombination in high-order harmonic generation in molecules