Magnetic excitations of the field-induced states in BaCo2(AsO4)2 probed by time-domain terahertz spectroscopy