Detaining children in immigration centres to face tougher rules