The thoracic cavity is what to the spinal cavity?