Inquiry hears children exported like 'little baby convicts'