Aggregation/dispersion transitions of T4 phage triggered by environmental ion availability