Techniques for evaluating harmonic distortion in class-AB output stages: A tutorial