Incorporation of carbon atoms in rare earth boron-rich solids and formation of superstructures