Synchronization criteria and pinning control for complex networks with multiple delays