Optical imaging technology may help surgeons better treat cancer, brain diseases