Diagnostic and clinical factors associated with pulpal and periapical pain.