The impact of banks' capital adequacy regulation on the economic system: an agent-based approach