The psychology behind investment mistakes