Behavioral finance has identified the many ways investors defeat themselves. But can it make you money?