Quantum information with optical continuous variables: from Bell tests to key distribution