Immigrants’ duration of residence and adverse birth outcomes: a population-based study