Stability of the bromate–cerium–malonic acid network. I. Theoretical formulation