Modelling non-homogeneous flow and residence time distribution in a single-screw extruder by means of Markov chains