Year-end tax tip: sometimes it’s good to be a loser