A consistent metric for nestedness analysis in ecological systems: reconciling concept and measurement