Drugs given to care home girls 'caused birth defects'