Spontaneous ferromagnetism in two-dimensional electron systems