Evaluation of the dentin changes in teeth subjected to endodontic treatment and photodynamic therapy