The structures and magnetic properties of Ti-substituted Pr2(Fe,Co)14(C,B)-type nanocomposites