Brain study finds what eases pain of financial loss