A general framework for Dynamic Emulation Modelling (DEMo) in environmental problems