Numerical analysis of a thermoelastic problem with dual-phase-lag heat conduction