TacTID: High-Performance Visuo-Tactile Sensor-Based Terrain Identification for Legged Robots