Angle and bond-length dependent C6 coefficients for H2 interacting with H, Li, Be and rare gas atoms