Equivalence between Entanglement and the Optimal Fidelity of Continuous Variable Teleportation