Memristor-based pixel for event-detection vision sensor