Lear posts $294M net loss in Q2