Detecting and interpreting higher-order interactions in ecological communities