Design guidelines of CMOS class-AB output stages: a tutorial