Codimension one foliations on homogeneous varieties