Exchange rate exposure under liquidity constraints