Spin frustration and antiferromagnetic long range order in R2BaPdO5 (R = rare earth)