Broadband coherent perfect absorption by cavity coupled to three-level atoms in linear and nonlinear regimes