The Influence of Governance on Investment: Evidence from a Hazard Model