Nato right to heed Russian anger over Ukraine accession plan, Merkel says in memoirs