Continuous measurement of blood hydration during ultrafiltration using optical methods