Neuromorphic computing with multi-memristive synapses