Edwards Lifesciences to buy heart device maker for $400 mln