how magnesium regulates cellular energy and ageing