Measurement of retinal thickness in optical coherence tomography images in healthy and unhealthy retinas using a computerized algorithm