How can I tell from my 1099-R whether I have capital gains?