Optical coherent transients: Generalized two-level solutions