AI-controlled sensors can improve patient outcomes in smart hospitals, Stanford says