Dual control of lysogeny and phage defense by a phosphorylation-based toxin/antitoxin system