Automatic optical system for the control and measurement of 100% of the internal and external diameter and free length of different families of springs