Beyond the pulse-area theorem: Role of the absorption and the dispersion in the propagation of weak ultrashort resonant pulses