Hundreds of children 'detained in police cells'