On the natural stratification of the space of differentiable functions and the space of Morse functions