Factors associated with the prevalence of apical periodontitis: An observational study