A thermodynamic approach for predicting the tendency of multicomponent metallic alloys for glass formation