Heart rate, anxiety and performance of residents during a simulated critical clinical encounter: a pilot study