Stochastic Normalizing Flows for Inverse Problems: a Markov Chains Viewpoint