Vitamin D deficiency is associated with type 2 diabetes mellitus in HIV infection.