Magnetic and thermoelectric properties of R3Cu3Sb4 (R=La, Ce, Gd, Er)