Pregnancy complications can have long-term impact on child's health: Study