Rights groups urge rehabilitation for Bahrain inmates