Comparison of the accuracy of NovApex apex locator and radiographic method: in vivo/ex vivo study