D meson production and decay in e+e− annihilation at 4.03 and 4 GeV c.m. energy