How does magnesium affect calcium levels?