On local causality and the quantum-mechanical state vector