Gender reassignment didn’t improve mental health, a new study says.