Using model food systems to develop mathematical models for construction of state diagrams of fruit products