Association of menopause and type 2 diabetes mellitus