BorgWarner to buy electric, hybrid motor maker Remy for $950 million