Stolen Generations used as medical guinea pigs, Australian inquiry told