Magnetism of R2Ti3Ge4 (R=Sc, Gd, Tb, Dy, Ho, and Er) compounds