Bank of Communications posts 12% gain in first-half profit