How magnesium affects your sleep and anxiety