Emission and absorption spectra of a general formalism Ξ-type three-level atom driven by a single-mode field with nonlinearities