Quantum cryptography using pulsed homodyne detection