Mohamed Diame's introduction was the key to West Ham's stunning victory over Chelsea, according to Carlton Cole.