During the middle ages, as well as at other times, mentally ill people were sometimes forced to undergo the religious ritual called exorcism. this was in order to