Onset of chaos and relaxation in isolated systems of interacting spins: Energy shell approach