Man hanged in prison in north-west Iran