Perinatal adaptation in animals