Dipole ordering effects and reentrant dipolar glass state in KTaO3:Li, Nb