Unfolded protein response genes regulated by CED-1 are required for Caenorhabditis elegans innate immunity.