Ab Initio Study on Dopant Relaxation Mechanism in Ti and Ce Cationically Substituted in Wurtzite Gallium Nitride