Effect of rare earth addition on liquid phase epitaxial InP-based semiconductor layers