A new class of conjugate gradient methods for unconstrained smooth optimization and absolute value equations