Spatio-temporal functional regression on paleoecological data