Adaptive behavior of euryhaline phytoplankton communities to arsenic stress