Combining population genetics and demographical approaches in evolutionary studies of plant mating systems