magnesium supplement timing for sleep