Germany's Toni Kroos says he is happy to retire from football at the top of the game and on his own terms.