On the structure and magnetic properties of the series RBa2Fe3O8+x (R=La,Nd,Sm,Gd)