Commercial activity as insurance: the investment behavior of non-profit firms