Overconfidence may be a drag on your portfolio. Here’s how to check your ego