Soft-chemical synthesis of new non-linear optical materials, K0.5M0.5Ti0.5OPO4 (M=Nb, Ta), related to KTiOPO4