Scientists have discovered a link between early menopause and an increased risk of heart disease and stroke.