NRA vows to oppose background check legislation