Pregnancy complications and birth outcomes in pregnant women with viral infections: a population-based study