How were people punished if they were drunk in the middle ages