The hormonal and non-hormonal control of renal excretion of calcium and magnesium.