The effect of diffusion on two-dimensional problem of generalized thermoelasticity with Green–Naghdi theory