magnesium ATP cofactor