A Noncommutative de Finetti Theorem: Invariance under Quantum Permutations is Equivalent to Freeness with Amalgamation