Optical psychrometer for relative humidity measurement in non-conventional environments