Human capital as a risky asset and the effect of uncertainty on the decision to invest