Transgenic crop resistance to bacteria