Detector noise in continuous-variable quantum key distribution