Charm quark production and fragmentation in e+e− annihilation at 29 GeV