Dental diagnosis and treatment planning