Lifestyle, Weight Gain, and Pregnancy Complications from a Life-Course Perspective