Fixing of a photorefractive grating in KTa(1-x)Nb(x)O(3) by cooling through the ferroelectric phase transition.