Classification of optical coherence tomography images for diagnosing different ocular diseases