Synchronization and State Estimation for Discrete-Time Complex Networks With Distributed Delays