Lear to acquire connected car software maker for $320 million