A Polynomial-Time Quantum Search Algorithm for NP-Complete Problems