Numerical analysis of vortex dynamics and unsteady turbulent heat transfer in lid-driven square cavity