Banks and cross-border capital flows: challenges and regulatory responses