What is the major function of the sarcoplasmic reticulum in the muscle?