Fast detection of water loss and hardness for cucumber using hyperspectral imaging technology