The IRS has announced higher long-term capital gains brackets for 2027. Here's what investors need to know.