Germany posts $1.2B foreign trade surplus in August