Piezo-optic behaviour of rubidium chloride up to the phase transition point