Early photosynthetic eukaryotes inhabited low-salinity habitats