Synthetic Spectra of H Balmer and He I Absorption Lines. II. Evolutionary Synthesis Models for Starburst and Poststarburst Galaxies