Magnetization of bilayer two-dimensional electron systems