Dynamical mean-field theory for spin glasses. I. Short-time properties in zero field