An integrated three-layered foresight framework