Quantum suppression of superconductivity in nanowires