Magnetoresistance of multilayered structures obtained by the magnetron method