Bahrain sentences 12 in Iran-linked cases