Capital Controls During Financial Crises: The Case of Malaysia and Thailand