High-order sum-of-squares structured tensors: theory and applications