Generalized energy conditions in Extended Theories of Gravity