Security of coherent-state quantum cryptography in the presence of Gaussian noise