First-Spike-Based Visual Categorization Using Reward-Modulated STDP