Characterization of the marginal distributions of Markov processes