Study of the possibility of realization of a spin valve on the basis of superconductor/ferromagnet multilayers