On the structure of real analytic foliations of codimension one