Ecological genomics of nematode responses to different bacterial environments