Total to invest $510 m for 50% stake in Adani’s solar biz