H-2 formation on interstellar grains in different physical regimes