Properties of D-Mesons from QCD Sum Rules with an Improved Spectral Function