Punishment in the frame: Rethinking the history and sociology of art