Event-driven reservoir computing