Josh McDaniels admits Brandin Cooks injury hurt Patriots