Atomically precise semiconductor---graphene and hBN interfaces by Ge intercalation