Changes in affinity for calcium ions with the formation of two kinds of phosphoenzyme in the Ca2+,Mg2+-dependent ATPase of sarcoplasmic reticulum.