Distinct ecotypes within a natural haloarchaeal population enable adaptation to changing environmental conditions without causing population sweeps