Passive continuous-variable quantum key distribution using a locally generated local oscillator