Trump accuses New York attorney general of illegally investigating NRA