Berlin prepares to reopen royal palace