Data-Driven Attack Detection and Identification for Cyber-Physical Systems under Sparse Sensor Attacks