Automated intraretinal layer segmentation of Optical Coherence Tomography images using graph-theoretical methods