Stability analysis of synchronization in discrete-time complex dynamical networks