Long-range dispersion coefficients for like centrosymmetric linear molecules and an application to H2-H2