The pan-immune system of bacteria: antiviral defence as a community resource