A SmNiO3 memristor with artificial synapse function properties and the implementation of Boolean logic circuits.