Investigation of stress distribution within an endodontically treated tooth restored with different restorations