Philipp Lahm has confirmed he will retire at the end of the season, leaving behind a career littered with club and individual trophies