A stochastic model for the sigmoidal behaviour of cooperative biological systems