Which electrolyte imbalances at the cellular level cause changes in the normal conduction and contractile function of the myocardium?