Automated spectroscopic tissue classification in colorectal surgery