Germany have returned to the top of FIFA's world rankings for the first time in two years, knocking Brazil into second.