Joachim Loew described Bastian Schweinsteiger as one of Germany's greatest ever players, after the midfielder announced his retirement.