Heart failure, atrial fibrillation, and complications from type 2 diabetes are related to low magnesium