Thomas Muller has announced he will leave Bayern Munich at the end of the season after 25 years at the club