The physics of higher-order interactions in complex systems