Lots of people are both smart and poor, but getting smarter can help you get richer.