Public humiliation is still a common teaching tool in medical education. Here’s how it leaves patients worse off