Invia SMS: Crime and punishment in the Middle Ages and early modern age