Phase mixing in the critical region of the ferroelectric phase transition in KD2PO4