Design and fabrication of praseodymium-doped optical waveguides