Capable people are doubting themselves in the workplace — at a big cost to their careers.