Podolski plays his last international match; scores the winner