Femtosecond envelope of the high-harmonic emission from ablation plasmas