IIT Madras to partner with digital firm Thales