French locomotive classification