Nonstandard finite difference schemes for a class of generalized convection–diffusion–reaction equations