Effect of several fields on a generalized thermoelastic medium with voids in the context of Lord-Shulman or dual-phase-lag models