Spin-valve effect in soft ferromagnetic sandwiches