magnesium supplement timing before sleep