Tree species from different functional groups respond differently to environmental changes during establishment