French resolution ‘lacks legal, historical basis and is based on prejudices,’ says memorandum approved by Turkish parliament