Bacteria-Responsive Biomaterials for Prevention, Detection, and Treatment of Infections