Stochastic model for a biological complex system: analysis of the bacterial growth in food products