Bayern Munich sign Philippe Coutinho from Barcelona on a season-long loan deal which includes an option to buy.