Turkey's coup probe 'legitimate', says German FM