ADC's Effective Number of Bits Determination by Combination of Histogram and Least Square Error Minimization Techniques