BOP and capital flows