Two defense systems in bacteria work in a complementary manner to protect from viruses