what is a root canal treatment? when to do it ? does it hurt ?