Nine babies and children from mother-and-baby homes in Northern Ireland were used for drug trials during the 1960s, it has emerged.