McCain criticizes Trump in new memoir