German lender posts record third-quarter profits but tells investors to brace again for credit risks