Memristive leaky integrate-and-fire neuron and learnable straight-through estimator in spiking neural networks