Monitoring of vital signs during surgery