Quantifying leanness and agility of manufacturing systems