Automatic segmentation of retinal and choroidal thickness in OCT images using convolutional neural networks