Magnesium in cellular processes and medicine