An approach to design the flexibility degree in flexible manufacturing systems