The ability of a muscle to contract and relax is dependent on the flow of what substance in and out of the muscle cell?