Spain capital outflows rise nearly 40 percent in June