On the structure of commutative pointed Hopf algebras