Transformation of holographic wavefields under influence of the second-order non-linearity of a non-linear material