Paleoecology meets genetics: deciphering past vegetational dynamics