Metallic synapses for neuromorphic and evolvable hardware