Refractometers and photometers