Doctor who stole newborn baby avoids punishment