Magnetic and crystallographic properties of ternary rare-earth compounds of the type R2Fe14C