Snapshots of three intermediates at the active site of pyruvate oxidase