Local structure theorems for algebraic foliations