A Memristor-Based Bipolar Cell Neuron Circuit for Motion Detection and Action Prediction