An ecological stock-flow-fund modelling framework