Shift of the basal planes as the order parameter of transitions between the antiferromagnetic phases of solid oxygen