A historian in the Republic of Ireland discovered that hundreds of children had died of neglect and malnutrition in a home for unmarried pregnant women run by Catholic nuns.