Controlling spin-dependent transport via inhomogeneous magnetic flux in double-dot Aharonov–Bohm interferometer