Pogba agrees to join Juve