Ultrafast pulse interactions with two-level atoms.