A rapid and reliable tool for assessing the malting quality of barley using automated optical analysis