The firm under uncertainty: real and financial decisions