Berlin should resolve problems with Ankara: Merkel aide