A model towards understanding stabilities and crystallization pathways of iron (oxyhydr)oxides in redox-dynamic environments