Man hanged in public in central Iran