Energy bonds as correlators for long-range symmetry-protected topological models and models with long-range topological order