Role of empathy in the perception of medical errors in patient encounters: a preliminary study