A framework for data-driven digitial twins of smart manufacturing systems