Ecological utility analysis: determination of interaction types between organisms in ecosystems