Classification of impacted mandibular third molars on cone-beam CT images