The instruments used in the punishment of criminals in medieval Iran