Schweinsteiger retires from Germany duty