Quasi-phase matched second harmonic generation in periodically poled Rb-doped KTiOPO4 ridge waveguide.