Crystal structure and physical properties of ternary compounds RPt3B, R=La, Pr, Nd