Oscillations and quantization of resistance at the temperature critical points of PbS-PbTe-PbS three-layer films on (001) KCl