Characterization of stationary probability measures for Variable Length Markov Chains