An image processing algorithm to aid diagnosis of mesial temporal sclerosis in children: a case-control study