A systematic approach to the integrated design of a flexible assembly system