Assembly system design in the Industry 4.0 era: a general framework