A Theory of Corporate Financial Decisions with Liquidity and Solvency Concerns