Reconstructing ancestral ecologies: challenges and possible solutions