Treatment and prevention of necrotizing enterocolitis