how do hormones affect weight gain in your 40s