Bahrain court sentences 139 on terrorism charges