Optimal Asset Allocation Subject to Liquidity and Withdrawal Risks