A new class of nonlinear conjugate gradient coefficients with exact and inexact line searches