Sun shines for Adani as Total buys 50% in solar business for $510 million