International business cycles with domestic and foreign lenders